package cn.edu.ujn.bmis.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * 图书捐赠人基本信息类
 * 
 */

@Entity
@Table(name = "donator")
public class Donator {

	private String donatorId; // 捐赠人数量
	private String donatorName; // 捐赠人姓名
	private String email; // 捐赠人邮箱
	private String telephone; // 捐赠人电话

	public Donator() {

	}

	@Id
	public String getDonatorId() {
		return donatorId;
	}

	public String getDonatorName() {
		return donatorName;
	}

	public String getEmail() {
		return email;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setDonatorId(String donatorId) {
		this.donatorId = donatorId;
	}

	public void setDonatorName(String donatorName) {
		this.donatorName = donatorName;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
}
